package com.moyq5.mvc.maker.test.bean.embed;

import javax.persistence.Column;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;

import com.moyq5.mvc.maker.test.bean.enums.ChannelId;

/**
 * 渠道费率ID
 * @author Moyq5
 * @date 2018年4月16日
 */
public class TraChannelFeeId implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	/**
	 * 渠道ID
	 */
	@Enumerated(EnumType.ORDINAL)
    @Column(name = "channel_id", nullable = false, precision = 15, scale = 0)
	private ChannelId channelId;
	/**
	 * 费率ID
	 */
	@Column(name = "fee_id", nullable = false, precision = 15, scale = 0)
	private Long feeId;
	public ChannelId getChannelId() {
		return channelId;
	}
	public void setChannelId(ChannelId channelId) {
		this.channelId = channelId;
	}
	public Long getFeeId() {
		return feeId;
	}
	public void setFeeId(Long feeId) {
		this.feeId = feeId;
	}
	
}
